import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: user
 * Date: 2024-05-10
 * Time: 17:49
 */
public class Test {
    public static void main(String[] args) {
        HashBuck hashBuck = new HashBuck();
        hashBuck.put(23,2323);
        hashBuck.put(12,1212);
        hashBuck.put(3,3434);
        hashBuck.put(45,4545);
        hashBuck.put(5,5656);
        System.out.println(hashBuck.get(23));
        System.out.println(hashBuck.get(4));
    }
//    public static void main(String[] args) {
//        Map<String,String> map = new TreeMap<>();
//        map.put("及时雨","宋江");
//        map.put("齐天大圣","孙悟空");
//        //System.out.println(map.get("齐天大圣"));
//       // System.out.println(map.getOrDefault("齐天大圣2", "haha"));
////        map.remove("齐天大圣");
////        System.out.println(map.get("齐天大圣"));
//        //System.out.println(map.keySet());
////        map.put("及时雨","宋江2");
////        System.out.println(map.values());
////        System.out.println(map.entrySet());
//  //      System.out.println(map.containsKey("及时雨"));
//   //     System.out.println(map.containsValue("宋江2"));
//    }
}
